package spire
package syntax

import spire.implicits._

class StrictEqSuite extends munit.FunSuite {

  test("negation") {
    assert(1 === 1)
    assert(!(1 =!= 1))
    assert(!(1 === 2))
    assert(1 =!= 2)
  }

  test("syntax") {
    compileErrors("1 === 1L")
  }

  test("syntax2") {
    compileErrors("1L === 1")
  }

  test("syntax3") {
    compileErrors("""1 === "x"""")
  }
}
